package com.nvt.core.dao;

import com.nvt.core.exception.NvtBusinessException;

public interface IHibernateDAO {

	/**
	 * @param entityName
	 * @param values
	 * @throws NvtBusinessException
	 */
	public void executeUpdate(Object objectDomain) throws NvtBusinessException;

	/**
	 * @param entityName
	 * @param values
	 * @return
	 * @throws NvtBusinessException
	 */
	public Object executeInsert(Object objectDomain)
			throws NvtBusinessException;

	/**
	 * @param entityName
	 * @param values
	 * @throws NvtBusinessException
	 */
	public void executeDelete(Object objectDomain) throws NvtBusinessException;

	// /**
	// * @param entityName
	// * @param values
	// * @throws NvtBusinessException
	// */
	// public List<Map<String, Object>> findByParameters(String entityName,
	// Object[] values) throws NvtBusinessException;
	//
	// /**
	// * @param entityName
	// * @throws NvtBusinessException
	// */
	// public List<Map<String, Object>> findAll(String entityName)
	// throws NvtBusinessException;

}
